package com.csii.modules.system.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import com.csii.autopoi.poi.excel.annotation.Excel;
import com.csii.core.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;

import javax.persistence.Id;

/**
 * @Description: oauth_client_details
 * @Author: power-stdio
 * @Date:   2021-01-07
 * @Version: V1.0
 */
@Data
@TableName("oauth_client_details")
@EqualsAndHashCode(callSuper = false)
public class OauthClientDetails implements Serializable {
    private static final long serialVersionUID = 1L;
	/**客户端ID*/
    @TableId()
    private String clientId;
	/**额资源ID*/
    private String resourceIds;
	/**访问密匙*/
    private String clientSecret;
	/**权限范围*/
    private String scope;
	/**授权类型*/
    private String authorizedGrantTypes;
	/**重定向URI*/

    private String webServerRedirectUri;
	/**权限值*/

    private String authorities;
	/**token有效时间值(单位:秒)*/

    private Integer accessTokenValidity;
	/**refresh_token有效时间值(单位:秒)*/

    private Integer refreshTokenValidity;
	/**预留的字段*/

    private String additionalInformation;
	/**是否自动授权*/

    private String autoapprove;
	/**客户端描述*/

    private String clientDesc;
	/**项目首页*/

    private String homePage;
	/**tenantId*/

    private String tenantId;
}
